package Algorithm;

public class removeKZeros {
    public static String Case_09RemoveKZeros(String iniString,int k){
        String regexp="0{"+k+"}";
        return iniString.replaceAll(regexp,"");
    }
    public static void main(String[] args) {
        System.out.println(Case_09RemoveKZeros("A0000000A123",3));
    }
}
